//
// Created by Alexey Chernyshov on 16.04.2020.
//

#ifndef CPP_FILECOIN_TEST_TESTUTIL_CRYPTO_SAMPLE_SIGNATURES_HPP
#define CPP_FILECOIN_TEST_TESTUTIL_CRYPTO_SAMPLE_SIGNATURES_HPP

#include "crypto/secp256k1/secp256k1_types.hpp"
#include "testutil/literals.hpp"

#define SAMPLE_BLS_SIGNATURE_HEX                                               \
  "58600101010101010101010101010101010101010101010101010101010101010101010101" \
  "01010101010101010101010101010101010101010101010101010101010101010101010101" \
  "010101010101010101010101010101010101010101010101"

#define SAMPLE_SECP256K1_SIGNATURE_HEX                                         \
  "58420101010101010101010101010101010101010101010101010101010101010101010101" \
  "01010101010101010101010101010101010101010101010101010101010101"

const auto kSampleSecp256k1SignatureBytes =
    "010101010101010101010101010101010101010101010101010101010101010101010101"
    "0101010101010101010101010101010101010101010101010101010101"_blob65;

const auto kSampleBlsSignatureBytes =
    "01010101010101010101010101010101010101010101010101010101010101010101010101"
    "01010101010101010101010101010101010101010101010101010101010101010101010101"
    "01010101010101010101010101010101010101010101"_blob96;

const fc::crypto::secp256k1::Signature kSampleSecp256k1Signature{
    kSampleSecp256k1SignatureBytes};

const fc::crypto::bls::Signature kSampleBlsSignature{kSampleBlsSignatureBytes};

#endif  // CPP_FILECOIN_TEST_TESTUTIL_CRYPTO_SAMPLE_SIGNATURES_HPP
